class TagsController < ApplicationController

  layout 'default'
  
  # home page
  def pages
    @tags = Page.top_tags
    @search_tags = params[:tags]
    @pages = Page.pages_tagged(@search_tags)

    respond_to do |format|
      format.html # index.rhtml
      format.xml  { render :xml => @annorations.to_xml }
    end
  end
end
